package task

import "errors"

type OutputList []Output

type Output struct {
	Kafka Kafka
}

func (outputlist OutputList) IsValid() error {
	if len(outputlist) == 0 {
		return errors.New("output is nil or not set")
	}
	return nil
}
